﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XYZshell.Game.CardGameEngine
{
	/// <summary>
	/// 规则特性
	/// </summary>
	[AttributeUsage(AttributeTargets.Class)]
	public  class RuleAttribute:Attribute
	{
				/// <summary>
		/// 表达式名称
		/// </summary>
		public  string ID
		{
			get;
			set;
		}
		/// <summary>
		/// 构造函数
		/// </summary>
		/// <param name="id">表达式的名称</param>
		public RuleAttribute( string id )
		{
			ID = id;
			
		}
	}
}
